package mk.com.ldm.corepoint.implementation.server;

import java.util.ArrayList;

import mk.com.ldm.corepoint.implementation.shared.Foreign;

public class DataBaseObject {
	private String dbName;
	private String value;
	private boolean conditions;
	private String conditionValue;
	public ArrayList<Foreign> foreign = new ArrayList<Foreign>();
	
	public DataBaseObject(String dbName, String value, boolean conditions,
			String conditionValue, ArrayList<Foreign> foreign) {
		super();
		this.dbName = dbName;
		this.value = value;
		this.conditions = conditions;
		this.conditionValue = conditionValue;
		this.foreign = foreign;
	}

	public String getDbName() {
		return dbName;
	}
	
	public void setDbName(String dbName) {
		this.dbName = dbName;
	}
	
	public String getValue() {
		return value;
	}
	
	public void setValue(String value) {
		this.value = value;
	}

	public boolean isConditions() {
		return conditions;
	}

	public void setConditions(boolean conditions) {
		this.conditions = conditions;
	}

	public String getConditionValue() {
		return conditionValue;
	}

	public void setConditionValue(String conditionValue) {
		this.conditionValue = conditionValue;
	}
	
}
